package com.bolt.report.engine.pool;

public class JdbcPoolManager {

    private static JdbcConnectionPool jdbcConnectionPool;

    public static synchronized JdbcConnectionPool getInstance(DruidProperties properties){
         if(jdbcConnectionPool == null) {
             return jdbcConnectionPool = new DruidJdbcPoolImpl(properties);
         }else{
             return jdbcConnectionPool;
         }
    }

}